package cuiyt.juc.function;

import java.util.function.Supplier;

/**
 * @author cyt
 * @create 2020-05-01 23:57
 */
public class SupplierTest {
    public static void main(String[] args) {
        Supplier<String> supplier = () -> {
            return "1024";
        };
        System.out.println(supplier.get());
    }
}
